<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
<head>

<meta property="qc:admins" content="164336131761562117756375" />

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>{wc:if isset($title)}{wc:$title}{wc:else}{wc:fun:_cfg("web_name")}{wc:if:end}</title>

<meta name="keywords" content="{wc:if isset($keywords)}{wc:$keywords}{wc:else}{wc:fun:_cfg("web_key")}{wc:if:end}" />

<meta name="description" content="{wc:if isset($description)}{wc:$description}{wc:else}{wc:fun:_cfg("web_des")}{wc:if:end}" />

<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/index.css"/>

<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/comm.css"/>

<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/register.css"/>

<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/color.css"/>

<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/css.css"/>

<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/mycart.css"/>

<script type="text/javascript" src="{G_GLOBAL_STYLE}/global/js/jquery-1.8.3.min.js"></script>

<script type="text/javascript" src="{G_TEMPLATES_JS}/jquery.cookie.js"></script>

<script type="text/javascript" src="{G_TEMPLATES_JS}/cloud-zoom.min.js"></script>

<script type="text/javascript" src="{G_TEMPLATES_JS}/jquery.webox.js"></script>

<script type="text/javascript" src="{G_TEMPLATES_JS}/jquery.cartlist.js"></script>

<script type="text/javascript" src="{G_TEMPLATES_JS}/koala.min.1.5.js"></script>

</head>

<body>

<div id="loadingtime"></div>

<div class="header">

	<div class="site_top">

		<div class="head_top w1200">

		<ul class="collect fr">  

		<li class="fr"><a class="service_img" href="http://wpa.qq.com/msgrd?v=3&uin={wc:fun:_cfg("qq")}&site=qq&menu=yes" target="_blank"></a></li>   

		<li class="fr"><a href="{WEB_PATH}/help/1">帮助</a><span>|</span></li>           

		<li class="fr"><a href="{WEB_PATH}/member/home/userrecharge">快速充值</a><span>|</span></li>

		<li class="fr yu_ff">

			<a  href="{WEB_PATH}/home/member">我的夺宝</a><span>|</span>

			<div class="h_1yyg_eject">

				<dl>							

				<dd><a  href="{WEB_PATH}/member/home">我的夺宝</a></dd>

				<dd><a  href="{WEB_PATH}/member/home/userbuylist">夺宝记录</a></dd>

				<dd><a  href="{WEB_PATH}/member/home">获得商品</a></dd>

				<dd><a  href="{WEB_PATH}/member/home/userrecharge">帐户充值</a></dd>

				<dd><a  href="{WEB_PATH}/member/home/modify">个人设置</a></dd>

				</dl>

			</div>					

		</li>

		{wc:if get_user_arr()}

		<li class="fr">欢迎您:<a  href="{WEB_PATH}/member/home" >

			{wc:fun:get_user_name(get_user_arr(),'username')}

			</a>

			<span>|</span>

			<a href="{WEB_PATH}/member/user/cook_end">[退出]</a>

			<span>|</span>

		</li>

		{wc:else}

		<li class="fr"><a href="{WEB_PATH}/register">注册</a><span>|</span></li>

		<li class="fr"><a href="{WEB_PATH}/login">登录</a><span>|</span></li>

		{wc:if:end}

	</ul>

	<ul class="collect fl">

	<li class="fl"><a href="javascript:;" onclick="AddFavorite(window.location,document.title)">收藏</a><span>|</span></li>

	<li class="fl mobile" style="position:relative;"><a href="">手机夺宝</a><s></s><span></span>

	<div class="h_mobile">

		<dl><li class="fl"><a href="">手机夺宝</a><s></s><span></span></li></dl>

	              <img src="{G_TEMPLATES_STYLE}/images/code.jpg" height="75" width="75">

		 <span>下载客户端</span></div></li>

	</ul>

	</div>

</div>

<div class="head_mid">

	<div class="head_mid_bg w1200">

		<h1 class="logo_yungou fl">

			<a class="logo_1yyg_img" href="{G_WEB_PATH}/" title="{wc:fun:_cfg('web_name')}">

				<img src="{G_UPLOAD_PATH}/{wc:fun:Getlogo()}">

			</a>

		</h1>

		<div class="head_search b_red fl">

			<input style="background: rgb(255, 255, 255) none repeat scroll 0% 0%;" id="txtSearch" class="init" placeholder="输入'小米手机'试一试" type="text">

			<a class="search_submit" id="butSearch" href="javascript:;">

				<i class="ico_search"></i>

			</a>

		</div>

		<div class="m-joinNum r">

		 {wc:php:start}

			$return = go_count_renci();

		{wc:php:end}

				<a href="{WEB_PATH}/buyrecord" target="_blank">

					<span class="qian text">已有</span>

					{wc:loop $return $slide}

                    					<!-- <span class="tnum" id="spBuyCount">{wc:fun:go_count_renci()}</span> -->

                    					<span class="tnum" id="spBuyCount">{wc:$slide}</span> 

					{wc:loop:end}

                    					<span class="hou text">人次参与></span>

				</a>



			</div>

		</div>

	</div>

</div>

<!--导航 header_nav 开始-->

<div class="head_nav">

	<div class="nav_center bg_red b_red w1200">

		<div class="m_menu br_red">

			<div class="m_menu_all">

                 <h3><a class="c_red" href="{WEB_PATH}/goods_list/">全部商品分类</a></h3>

             </div>

	 <div class="m_all_sort b_gray" id="m_all_sort">

	<ul>

             	{wc:getlist sql="select * from `@#_category` where `model`='1' and `parentid` = '0' order by `order` ASC"}

	{wc:loop $data $categoryx}

	 <li>

              <a href="{WEB_PATH}/goods_list/{wc:$categoryx['cateid']}" target="_blank">

              <img src="{G_UPLOAD_PATH}/{wc:$categoryx['pic_url']}" height="49" width="44">

              </a>  

               <a href="{WEB_PATH}/goods_list/{wc:$categoryx['cateid']}" target="_blank">{wc:$categoryx['name']}</a>

               </li>

	{wc:loop:end}

	{wc:getlist:end}

              </ul>

		<a class="more" href="{WEB_PATH}/goods_list">查看更多</a>

			 </div>

		</div>

		<ul class="nav_list">

		 	<li class="sort-all-shouye"><a href="{wc:G_WEB_PATH}">首页</a></li>

			{wc:fun:Getheader('index')}

		</ul>	

		<div class="mini_mycart" id="sCart">

			<a href="{WEB_PATH}/member/cart/cartlist" class="cart c_red" target="_blank" id="sCartNavi">

				<s></s>购物车(<span id="sCartTotal" class="c_red">0</span>)

			</a>

		</div>

	</div>

</div>

<div class="clear"></div>

<style>

.fixedNav{

	position:fixed;

	top:0px;

	left:0px;

	width:100%;

	z-index:100000;

	_position:absolute;

	_top:expression(eval(document.documentElement.scrollTop));

}

</style>

<!--导航 header_nav 结束-->

<script>

$(document).ready(function(){

		$.get("{WEB_PATH}/member/cart/getnumber/"+new Date().getTime(),function(data){

			$("#sCartTotal").text(data);

		});

	});



document.onkeydown=function(event)

{ 

	e = event ? event :(window.event ? window.event : null);

	ss= document.getElementById('txtSearch').value;

	if(e.keyCode==13 && ss!=""){

	 window.location.href="{WEB_PATH}/s_tag/"+$("#txtSearch").val();

	}

}



$(function(){

	$("#txtSearch").focus(function(){

		$("#txtSearch").css({background:"#fff"});

		$(this).attr("placeholder","");

	});

	$("#txtSearch").blur(function(){

		$("#txtSearch").css({background:"#FFF"});

		$(this).attr("placeholder","输入'小米手机'试一试");	

	});

	$("#butSearch").click(function(){

		var val1="小米手机"

	    if($("#txtSearch").val()==""){

			window.location.href="{WEB_PATH}/s_tag/"+val1;

		}else

		if($("#txtSearch").val()==$("#txtSearch").val()){

			window.location.href="{WEB_PATH}/s_tag/"+$("#txtSearch").val();

		}

	});

});



	$(".yu_ff").mouseover(function(){

	  $(".h_1yyg_eject").show();

	})

	$(".yu_ff").mouseout(function(){

	  $(".h_1yyg_eject").hide();

	})



		

	//收藏

	function AddFavorite(sURL, sTitle){

		try

		{

			window.external.addFavorite(sURL, sTitle);

		}

		catch (e)

		{

			try

			{

				window.sidebar.addPanel(sTitle, sURL, "");

			}

			catch (e)

			{

				alert("您可以通过快捷键Ctrl+D进行添加");

			}

		}

	}

	

	$(".mobile").mouseover(function(){

		$(".h_mobile").show();

		$(".h_mobile  s").css("background","../images/headbg11.png").css("background-position","5px -64px");

	})

	$(".h_mobile").mouseout(function(){

		$(".h_mobile").hide();

	})



	

</script>